//
//  MCChargeInViewCell.m
//  ERP
//
//  Created by QA on 15/11/5.
//  Copyright © 2015年 ShangHai HaoLei Software Technology Co., Ltd. All rights reserved.
//

#import "MCChargeInViewCell.h"

@interface  MCChargeInViewCell()

@property (nonatomic, strong) MCChargeInViewCell *view;

@end

@implementation MCChargeInViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.opaque = YES;
        // Initialization code
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"MCChargeInViewCell" owner:self options:nil];
        self.view = [topLevelObjects objectAtIndex:0];
        _view.userInteractionEnabled = NO;
        _view.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:_view];
        
        CGRect frame = self.view.frame;
        frame.size.width = SuperWidth;
        self.view.frame = frame;
        
        self.nameLabel = _view.nameLabel;
        self.yczzlLabel = _view.yczzlLabel;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

@end
